Search
Other Tabs & Accordions questions
Forum

Accordion not responding to {if last}{/accordions}{/if}

Rachel Walraven's Avatar Rachel Walraven
Hi,

I load some articles in an Accordion with Articles Anywhere. But only the first Accordion is shown. When I open it, the netxt title is visible within the first article. When I click that, the third one shows up etc.

It seems like the {/accordion} is placed wrong or something.

This is the code I used:
{articles category="veel gestelde vragen"}

{accordion title="[title]" class="red" open="false"}

[introtext]

{if lees-meer = ja}[link class="button"]Uitgebreid antwoord[/link]{/if}

{if last}{/accordions}{/if}

PHP version is 8.3
Joomla version is 4.4.4
Articles anywhere version is 16.0.5 pro
Tabs & Accordions version is 2.1.2 pro

Any idea how I can fix this?

With kind regards,
Rachel Walraven

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
It is probably due to the system plugin ordering. Try changing the ordering of the plugins in question.
See: regularlabs.com/blog/242-plugin-order-is-important
Please post a rating at the Joomla! Extensions Directory
Rachel Walraven's Avatar Rachel Walraven
Thank you! That was it. Articles Anywhere was loaded after the T&A plugin. Changing that order fixed the problem.

With kind regards,
Rachel Walraven
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription